package com.demo.gulimall.product.controller;

import com.demo.gulimall.product.service.AttrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;
import java.util.List;

/**
 * @author Chen Yuan
 * @create 2023-05-24  11:29
 */
@RestController
public class TestController {

	@Autowired
	private AttrService attrService;

	@GetMapping("/test")
	public List<Long> test(){
		return attrService.selectSearchableAttrIdsByIds(Arrays.asList(1L));
	}
}
